package com.parktech.sun.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * User: Think
 * Date: 11-1-22
 * Time: 下午1:55
 */
@Controller
public class DefaultViewController extends BaseViewController {

    @RequestMapping("/*/byname/{viewName}")
    public String view(@PathVariable("viewName") String viewName) {
        return viewName;
    }
}
